package com.smartao.base.config;

import com.smartao.core.config.BaseConfig;

public class EmailConfig extends BaseConfig{

	private static final long serialVersionUID = -1741814807183101720L;

	public EmailConfig() {
		super("email.");
	}
	
	private String enabled = Boolean.FALSE.toString();
	//邮件发送地址
	private String fromAddress;
	//邮件前缀
	private String prefix;
	//邮件协议
	private String protocol;
	
	private String host;
	private String port;
	private String timeout;
	//是否需要安全传输协议
	private String tlsRequired = Boolean.FALSE.toString();
	private String username;
	private String password;

	public String getEnabled() {
		return enabled;
	}

	public void setEnabled(String enabled) {
		this.enabled = enabled;
	}

	public String getFromAddress() {
		return fromAddress;
	}

	public void setFromAddress(String fromAddress) {
		this.fromAddress = fromAddress;
	}

	public String getPrefix() {
		return prefix;
	}

	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}

	public String getProtocol() {
		return protocol;
	}

	public void setProtocol(String protocol) {
		this.protocol = protocol;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getPort() {
		return port;
	}

	public void setPort(String port) {
		this.port = port;
	}

	public String getTimeout() {
		return timeout;
	}

	public void setTimeout(String timeout) {
		this.timeout = timeout;
	}

	public String getTlsRequired() {
		return tlsRequired;
	}

	public void setTlsRequired(String tlsRequired) {
		this.tlsRequired = tlsRequired;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}


	
}
